<?php

/**
 * Generated Model class.
 */
class Base_SourceRow extends Db_Row
{

    /**
     * Set new value for source.id column in current Row.
     * 
     * @param int $IdFromSourceRow
     * @return void
     */
    public function setId($Id)
    {
        $this->__set("id", $Id);
    }

    /**
     * Return source.id column value in current Row.
     * 
     * @return int
     */
    public function getId()
    {
        return $this->__get("id");
    }

    /**
     * Set new value for source.key column in current Row.
     * 
     * @param varchar $KeyFromSourceRow
     * @return void
     */
    public function setKey($Key)
    {
        $this->__set("key", $Key);
    }

    /**
     * Return source.key column value in current Row.
     * 
     * @return varchar
     */
    public function getKey()
    {
        return $this->__get("key");
    }

    /**
     * Set new value for source.name column in current Row.
     * 
     * @param varchar $NameFromSourceRow
     * @return void
     */
    public function setName($Name)
    {
        $this->__set("name", $Name);
    }

    /**
     * Return source.name column value in current Row.
     * 
     * @return varchar
     */
    public function getName()
    {
        return $this->__get("name");
    }

    /**
     * Set new value for source.description column in current Row.
     * 
     * @param varchar $DescriptionFromSourceRow
     * @return void
     */
    public function setDescription($Description)
    {
        $this->__set("description", $Description);
    }

    /**
     * Return source.description column value in current Row.
     * 
     * @return varchar
     */
    public function getDescription()
    {
        return $this->__get("description");
    }

    /**
     * Set new value for source.url column in current Row.
     * 
     * @param varchar $UrlFromSourceRow
     * @return void
     */
    public function setUrl($Url)
    {
        $this->__set("url", $Url);
    }

    /**
     * Return source.url column value in current Row.
     * 
     * @return varchar
     */
    public function getUrl()
    {
        return $this->__get("url");
    }

    /**
     * Set new value for source.created_at column in current Row.
     * 
     * @param datetime $CreatedAtFromSourceRow
     * @return void
     */
    public function setCreatedAt($CreatedAt)
    {
        $this->__set("created_at", $CreatedAt);
    }

    /**
     * Return source.created_at column value in current Row.
     * 
     * @return datetime
     */
    public function getCreatedAt()
    {
        return $this->__get("created_at");
    }

    /**
     * Set new value for source.modified_at column in current Row.
     * 
     * @param timestamp $ModifiedAtFromSourceRow
     * @return void
     */
    public function setModifiedAt($ModifiedAt)
    {
        $this->__set("modified_at", $ModifiedAt);
    }

    /**
     * Return source.modified_at column value in current Row.
     * 
     * @return timestamp
     */
    public function getModifiedAt()
    {
        return $this->__get("modified_at");
    }

    /**
     * Return dependent rowset from table Post where Post.SourceId reference to source
     * table
     * 
     * @param Db_Select $select FromPost
     * @return Zend_Db_Table_Rowset_Abstract
     */
    public function getPostRowsetBySourceId($select = null)
    {
        return $this->findDependentRowset('PostPeer', null, $select);
    }


}

